package com.pinxiang.framework.weather.power.service.impl;

import com.pinxiang.framework.weather.power.mapper.MtIceDataMapper;
import com.pinxiang.framework.weather.power.model.MtIceData;
import com.pinxiang.framework.weather.power.service.IMtIceDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by spc on 2018/5/31.
 */
@Service
public class MtIceDataServiceImpl implements IMtIceDataService {
    @Autowired
    private MtIceDataMapper MtIceDataMapper;

    @Override
    public List<MtIceData> findAll(Map map) {
        return MtIceDataMapper.selectByParams(map);
    }

    @Override
    public int selectCountByParams(Map map) {
        return MtIceDataMapper.selectCountByParams(map);
    }

    @Override
    public List<MtIceData> selectByParams(Map<String, Object> parameters) {
        return MtIceDataMapper.selectByParams(parameters);
    }

    @Override
    public List<MtIceData> selectForpieDisplay(Map<String, Object> parameters) {
        return MtIceDataMapper.selectForpieDisplay(parameters);
    }

    @Override
    public List<MtIceData> selectFortarDisplay(Map<String, Object> parameters) {
        return MtIceDataMapper.selectFortarDisplay(parameters);
    }

    @Override
    public List<MtIceData> selectForX(Map<String, Object> parameters) {
        return MtIceDataMapper.selectForX(parameters);
    }

    @Override
    public List<MtIceData> selectForDEDisplay(Map<String, Object> parameters) {
        return MtIceDataMapper.selectForDEDisplay(parameters);
    }


}
